<?php

namespace app\controller\Api\V1\Client;

use support\Request;
use support\Response;

class WebsocketController
{

    /**
     * 初始化
     *
     * @param Request $request
     * @return Response
     */
    public function Init(Request $request): Response
    {

        return jsonRe([
            'config' => [
                'url' => getenv('WEBSOCKET_URL'),
                'params' => [
                    'authentication'
                ],
            ]
        ]);

    }

}